What are some copywriter rules?

I have a dream to become a Youtuber and I need to know something. Is it illegal to use someone's else's song but still give them credit? Thank you for reading
1 answer 1