What happens during a legal trial?

What happens during a legal trial?