manchmal
sometimes
At some times, but not always; occasionally, now and then.
Manchmal trinke ich Kaffee, aber meistens bevorzuge ich Tee.
Sometimes I drink coffee, but most of the time I prefer tea.

sometimes
Loading your saved state.
sometimes
At some times, but not always; occasionally, now and then.
Manchmal trinke ich Kaffee, aber meistens bevorzuge ich Tee.
Sometimes I drink coffee, but most of the time I prefer tea.

'Manchmal' can stand in different positions in the sentence. If it is in position 1, the conjugated verb follows immediately (inversion). However, it can also stand after the verb and subject.
Manchmal gehe ich am Sonntag spazieren.
Sometimes I go for a walk on Sunday.
The word is made up of 'manch' and 'Mal'. Literally, it means 'manches Mal' (some times) and expresses that something happens occasionally but irregularly.
Manchmal frage ich mich, ob das die richtige Entscheidung war.
Sometimes I wonder whether that was the right decision.
'Manchmal' is a typical answer to a 'Wie oft...?' (How often...?) question when the frequency is irregular or you do not want to commit to a precise answer.
„Gehst du oft ins Fitnessstudio?“ – „Manchmal, wenn ich Zeit habe.“
“Do you often go to the gym?” — “Sometimes, when I have time.”
here
'hier und da' (here and there) and 'manchmal' (sometimes) can both mean that something does not happen regularly. The difference is: 'manchmal' clearly talks about time, meaning individual occasions. 'hier und da' can also talk about time, but often sounds a bit more casual. In addition, 'hier und da' can also mean that something occurs in various places. If you simply want to say that something happens now and then, 'manchmal' is usually more direct and neutral.

Manchmal kauft das Kind am Wochenende ein Eis.
Sometimes the child buys ice cream on the weekend.
Im Bus hört man hier und da leise Gespräche.
On the bus, you hear quiet conversations here and there.