How can one use support and resistance levels in trading?

How can traders identify support and resistance levels to plan their entry and exit points?,