what is sql latch?
Latches are internal to the SQL engine and are used to provide memory consistency, whereas locks are used by SQL Server to provide logical transactional consistency. Above answer is taken from the old, but extremely relevant white paper written in the year 2011.