To understand the event "It was Mary's birthday.  She got presents from her friends.", it is important to know that There was a birthday celebration