You can try to find the parts that stand out on bricklink[0], which will point you to the sets they were used in. It's pretty quick, once you figure out what the part can be called or what category it fits in.
If you can't figure it out, you can ask for help on the "bricks" StackExchange site[1].
If you can't figure it out, you can ask for help on the "bricks" StackExchange site[1].
[0] https://www.bricklink.com [1] https://bricks.stackexchange.com/