No SIM? iPhone help plz

Why does my iPhone keep randomly saying no SIM? What does that mean? I’ll restart my phone and it will be connected to my WiFi again and then it will randomly do it again. Sorry I’m not a techy lol thanks!