please help..

1. How do a star's temperature and size affect its appearance?
2. How is the electromagnetic spectrum used to examine astronomical objects?