A relative can request a death certificate. This is also the person that registers the death in the UK. Any of the following individuals may also register the death if a relative is not available:
Someone who was there at the time of death
The administrator from the hospital (if the person died in the hospital)
Someone in command of the funeral arrangements