Offer Prayer till Death

What is the importance of prayer? How did the Prophet (peace be upon him) observe his prayer ...