Get End date Of Month from entered Date in Excel

I want a formula or a way by which I will get the End date of Month from given date. Example: 

 Date  Last Date of Month
 2/5/2022  2/28/2022

So I want to calculate/display "Last date of month" from "Date" column data. How to achieve that. Any help