Welcome to the community! It can get pretty confusing because in many cases it will depend on the exact devices you’re using, and because many people like to do their own coding, although it’s not required.
SmartThings is very powerful, but not always intuitive.
The following can be helpful if you’re just starting out, whether you’re a coder or not. (This is a clickable link)