Gross profit is revenue minus the cost of goods sold. Note that what is counted in the cost of goods sold can vary by company.
Net Income subtracts out the company's other costs - the cost of research and development, marketing, general and administrative, etc...