It is not directly a form of "solar energy", but it contains energy which originally came from the sun. Oil is a type of fossil fuel, which are formed by natural decomposition of plants and organisms...
Oil has a reserve of chemical energy. If we burn it, that gets converted to heat energy.
The Sun.
The sun
No, not in human timescales. It is considered non-renewable because, eventually, it will run out.