How do accumulating ETFs actually work?

ETFs have some flexibility in following the assets. They can deviate a certain percentage (usually mentioned in the prospectus) from the index they follow.