This is a tool (probably) in an ultralight airplane. Initially I guessed that it is tilting meter (to level between right and left), but seems it is not as it just like a vertical tube filled up with something like liquid.

So, what is that and how it works?

![enter image description here](https://i.sstatic.net/CVRnn.png)