No, there is difference
Use Composite
pattern if
1. You need to keep either object or group of objects inside another object.
2. and If behaviour of groups and single object might be common.
Use Decorator if
1. You have variations of an operations at runtime
like :
FileWriter file = new FileWriter("test.txt");
BufferedWriter writer = new BufferedWriter(file); //we can compose one stream from another