Security deposits are collected to cover any unpaid rent or damages to your apartment when you vacate. It is also to cover carpet and general cleaning of your unit after move out.