What are the two major forces that act on a star?