Various classes can learn summon spells. Rangers and Druids can summon animals, while Wizards, Sorcerers and Clerics can summon undead.
Summons have fixed stats and their own AI - you can't control units you summon. Other than that, they behave like any other unit in combat. Units a character has summoned are shown in the top right corner of their portrait, and each character can have up to 3 "minions" at once. They disappear when you rest, level up, or when their HP reaches 0 (i.e. they can't be revived).
Druids and Rangers get an Animal Companion, which is essentially a free summon that can be called once a day for free. Unlike summons, a companion's stats increase with yours as you level. Companions are generally much stronger than a summon, but you only get one, and if it dies, you have to rest to be able to summon it again.
Druids also get a Wildshape ability. They can transform into a variety of animals, which modify their Strength, Dexterity, Constitution and HP accordingly. Wildshape also gives various other benefits: Wolf form has higher movement speed, Bat form can fly and ignore terrain movement costs. The downside is that it only lasts for a certain number of turns, can only be used a limited number of times per day, and you can't cast spells while in an animal form.