No, solar panels do not work at night without a battery. Solar panels generate electricity using the photovoltaic effect, which converts sunlight directly into electricity. When there is no sunlight, there is no electricity to be generated. However, you can use solar panels without battery storage. In this case, you will need an inverter to convert the DC power generated by the solar panels into AC power that your home appliances can use.
Solar panels need battery support for off-grid systems; the battery is connected to the inverter. Nowadays, the battery is coupled with charge controllers it comes in a combined box (big solar plants). also, solar panels can be directly connected to the inverter through the (DCDB) in that case you don't need a battery. Rk Naresh