Technically, they were the two people elected by the senate to a term of a one year and no more (although this would change).* They were in effect the "leaders" of Rome, and were in charge of laws and the military to name a few.
* - The original concept of Rome was based on 3 concepts which governed this office: annuality, collegiality (no singular power except in dire times), and public sovereignty.