adverb: maybe; possibly
Perhaps it will rain tomorrow.
interjection: used to make a suggestion or propose an action
Perhaps we should call a doctor.