Scouting allows you to take a look at enemy forces. Tap a Castle or a Troop that belong to a Lord who is not in your Alliance and use the Scout function.
A successful scout will tell you the enemy army's size, their Troop composition, and the buffs applied to their Heroes.
Tip: You can stop others from scouting you by using Scout Prevention items.