Asset allocation is the way you divide your investments between different asset classes within your portfolio to help you reduce risk and possibly increase returns over time.
The diversification definition is the technique of spreading your investments around, so your exposure to risk in one particular asset category is limited.
Diversification is important because you can maximize your returns by investing in different areas that would react differently in the same volatile market.