Solar, supernova, atmospheric and geo neutrino studies using JUNO detector