You can understand that a complex sentence is formed of at least one main clause and any type of subordinate clause.