How do we see pipeline optimizer actions - is it with explain

How do we know if the server optimized the pipline using Aggregation options ? It was mentioned in Chapter 0, Aggregation structure and Syntax lecture. Is it with explain or is is it talking about something else ?

Thanks.