Explain the purpose of conducting a market analysis

Explain the purpose of conducting a market analysis and outline five factors that might be investigated as part of market analysis.