I am just talking in general and they are two different concepts. Some states are very strict about what security deposit can do, and holding deposit is not security deposit in those states.
If you at least understand the difference between two deposits, my job is done.