shall Vs May


(Guest)

while studing law I have little bit confusion for the word shall and may. What are the importants of these words in any sections.