Weathering is the breakdown of rocks and minerals into smaller fragments. Erosion is the process of the movement of the weathered rock fragments over a certain distance. Weathering does not involve any movement of the rocks, while erosion only takes place if the movement of rock fragments (or soil) takes place. Weathering can be mechanical or chemical nature. The simple breaking of rocks by water freezing and melting is mechanical weathering. Chemical action by water (hydrolysis), carbon dioxide (carbonation), etc. are examples of chemical weathering. Biological weathering is caused by microorganisms, plants, and animals and can result in either chemical or mechanical weathering. Erosion is caused by wind, water, ice, animals and human beings, etc. Weathering is caused by atmospheric elements, while erosion can also be caused by human activities, such as deforestation.
Hope this helps.