In fact, you even still accrue vacation time while off sick, I was off sick for a year and when I came back HR came to me with the news that I had extra holiday to use the next year because it been rolled over from when I was off sick.
If you're sick while on holiday you can even try to claim the days back although most people don't as that's seen as taking the piss a bit.
But in general you will be paid full wages for intermittent sickness (ie three days -> couple of weeks)
As you are sectioned you will have a doctor's note by default, so there is no chance of being fired. (employment tribunal will back you up on that. However there is a cost(capped at £750) to that nowadays [thanks david cameron, you utter shitfacewankstain])
There are a number of rights for returning to work as well after a long sickness.
Should that fail, there is still nominally a safteynet of universal credit. However that has become rather inhumane recently (thanks again David you shitbag.) but it is not as inhumane as unemployment insurance in the US.