Identify trends with moving averages

A moving average represents the average of the prices (usually close) in the last n periods. For example, the 50 days moving average shows the average of closing prices of the last 50 days.  It can be used for many purposes, one of them is to identify trends. Why is...