It being a hot day,I decided to go for a swim.中的It being a hot day也是状语么?把It去了句子不成立,而句子Being ill,I went to a hospital.中没有It是不是其中的逻辑主语省略了,还是怎么的!