Up to what age should a sleeping bag be used?

The sleeping bag can be used up to 2-3 years. It is preferable to a comforter until at least 24 months to avoid the risk of suffocation.