A moving average smooths out price by continuously averaging it over a chosen number of periods, making the underlying trend easier to see.
A simple moving average (SMA) weights all periods equally; an exponential moving average (EMA) gives more weight to recent prices, so it reacts faster. Crossovers between averages are a classic (if lagging) trend signal.