Compact objects and high-energy phenomena