A dividend is a distribution of a portion of a company's earnings to its shareholders, typically paid in cash. It…