They are not parts of speech (noun, verb, adjective, etc), but clauses. They would most likely be used as adverbials, but as they stand they have no function.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.