BASIC statements end on new lines. The language does use a semicolon at the end of PRINT statements in order to omit printing a newline character at the end, but I believe that's the only use. (It's been about 20 years since I've done anything in BASIC.)
The meaning of a semicolon depends completely on the language. C and C-like languages (like Java and Rust) tend to use them to delimit the end of a statement.
You can also use them to split lists where the items have commas in them. Like if you're saying you're holding a party and you invited A, whom you dislike but would feel bad to exclude; B, who you've not seen in years and really want to catch up with; and C, who is also going to be there.