What is Ex Dividend?

Ex dividend is when someone purchases a stock but will not be eligible for the next dividend payment. Ex rights means that the person buying the stock is not entitled to shares from an upcoming rights.