Subordinate clauses start with a subordinating conjuction, in this case "if". They have subject and verb but do not have meaning on their own as they need the main sentence to complete their meaning.
Subordinate clauses can have different functions in a sentence: adverbs, nouns or adjectives.
In this case, the subordinate clause is acting as an adverb.