When do we need doubly reinforced beams ?

As the name implies doubly reinforced beams means we are providing the reinforcement in both the zones. In the case of a beam the zone is basically compression and tension