What is a “complaint”?

A complaint is a sworn written document that alleges (among other things) the type of offense, states that it occurred in Travis County, the name of the defendant, and the date of the offense.