I think if you see a use client then it is client which run on the client side otherwise if there's use server or nothing at all will run in the server which is default.
use client
use server