This is called a dependent (another word: subordinate) clause.
For example, in a sentence
When I ask questions on Brainly, people answer them.
"When I ask questions on Brainly, " is a group of words with a subject and a verb, but does not express a full thought.