Usually on a bike it’s on there for 1 of 2 reasons - hiding something or trying to look cool.
Works good for hiding stuff - doesn’t look cool haha.
If it was done properly (usually none of them are) then it would be water dipped and after it’s dry sprayed with a silicone heat wrap paint...