What are the three main parts of a seed and what do they do?