Dear Student,
In any LPP the optimum function is maximum or minimum only at the corner points as, in the feasible region consider in along any straight line either the function increases or decreases along any straight line between 2 corner points, either the function value increases or decreases till another corner point is reached. Hence maximum or minimum values occur only at corner points of feasible region.
Regards